{% extends 'base.html' %}
{% block header %}
  {{ form.media }}
{% endblock %}
{% block content %}
  <form method="post" enctype="multipart/form-data">
    {% csrf_token %}
    {% for field in form %}
      <div class="form-group">
        <div>
          <label for="{{ field.id_for_label }}" class="text-dark">{{ field.label }}:</label>
        </div>
        {{ field }}
      </div>
    {% endfor %}
    <div class="row justify-content-center">
      <button type="submit" class="btn btn-primary">Add</button>
    </div>
  </form>
{% endblock %}
